/*
 * @Author: CQJ
 * @Date: 2022-08-28 23:33:11
 * @LastEditors: CQJ
 * @LastEditTime: 2022-09-11 23:14:25
 * @Description:
 */

import type { MakerListData } from '@/types/site/filmMakerList'
export const makerData = [
  {
    id: '00122', //专辑id
    avatar: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg',
    makerName: '周星驰',
    gender: 0,
    type: '港台明星',
    area: '香港',
    filmNumber: '1213',
    popularity: '78912',
    created_at: '2018-05-27 09:55:09',
    status: 1
  },
  {
    id: '00123', //专辑id
    avatar: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg',
    makerName: '刘德华',
    gender: 0,
    type: '港台明星',
    area: '香港',
    filmNumber: '1123',
    popularity: '28912',
    created_at: '2018-05-27 09:55:09',
    status: 1
  },
  {
    id: '00124', //专辑id
    avatar: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg',
    makerName: '刘嘉玲',
    gender: 1,
    type: '港台明星',
    area: '香港',
    filmNumber: '456',
    popularity: '7512',
    created_at: '2018-05-27 09:55:09',
    status: 1
  },
  {
    id: '00125', //专辑id
    avatar: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg',
    makerName: '谢霆锋',
    gender: 0,
    type: '港台明星',
    area: '香港',
    filmNumber: '2245',
    popularity: '44442',
    created_at: '2018-05-27 09:55:09',
    status: 1
  }
]
export const column = [
  {
    title: '影人ID',
    key: 'person_id',
    dataIndex: 'person_id',
    width: 190
  },
  {
    title: '影人图片',
    key: 'person_avatar',
    dataIndex: 'person_avatar'
  },
  {
    title: '影人名称',
    dataIndex: 'person_name',
    key: 'person_name'
  },
  {
    title: '性别',
    dataIndex: 'person_gender',
    key: 'person_gender'
  },
  {
    title: '分类',
    key: 'person_categ_name',
    dataIndex: 'person_categ_name'
  },
  {
    title: '地区',
    key: 'person_area_name',
    dataIndex: 'person_area_name'
  },
  {
    title: '影片数量',
    key: 'person_video_count',
    dataIndex: 'person_video_count',
    sorter: (a: MakerListData, b: MakerListData) => (a.person_video_count as any) - (b.person_video_count as any),
    showSorterTooltip: false,
    sortDirections: ['descend', 'ascend'],
    width: 120
  },
  {
    title: '人气',
    key: 'person_popularity',
    dataIndex: 'person_popularity',
    sorter: (a: MakerListData, b: MakerListData) => (a.person_popularity as any) - (b.person_popularity as any),
    showSorterTooltip: false,
    sortDirections: ['descend', 'ascend']
  },
  {
    title: '创建时间',
    key: 'created_at',
    dataIndex: 'created_at',
    width: 170
  },
  {
    title: '状态',
    key: 'person_status',
    dataIndex: 'person_status'
  },
  {
    title: '操作',
    key: 'action',
    fixed: 'right',
    width: 120
  }
]
